home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q101 / 8 / 75.TXT < prev    next >
Text File  |  1993-08-30  |  3KB  |  65 lines

  1. DOCUMENT:Q101875  10-AUG-1993  [W_NT]
  2. TITLE   :How to Enable ANSI.SYS to Function in a Command Windows
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system, version 3.1
  12.  - Microsoft Windows NT Advanced Server, version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. SUMMARY
  16. =======
  17.  
  18. ANSI.SYS can be loaded and used from the command prompt, with the
  19. restriction that it can run only in the context of the MS-DOS
  20. subsystem. To load ANSI.SYS, add "device=c:\winnt\system32\ansi.sys"
  21. to the CONFIG.NT file in the Windows NT SYSTEM32 directory.
  22.  
  23. MORE INFORMATION
  24. ================
  25.  
  26. Once ANSI.SYS is loaded, you can use any MS-DOS-based program that
  27. makes use of this driver. However, if you want to use ANSI.SYS to
  28. change the look of the command prompt, you may have to perform some
  29. additional steps.
  30.  
  31. For example, to highlight the prompt in MS-DOS command prompt, you
  32. must add "dosonly" to your CONFIG.NT file, and run COMMAND (not CMD)
  33. from MS-DOS Command Prompt. You can then run a batch file that
  34. includes the PROMPT command with ANSI escape sequences to highlight
  35. the prompt.
  36.  
  37. NOTE: While this gives the command prompt the same appearance as an
  38. MS-DOS prompt, you are now in a DOS-based command prompt, and you can
  39. no longer start non-DOS programs from the command line.
  40.  
  41. ANSI.SYS, being an MS-DOS-based device driver, can be used only in the
  42. context of the MS-DOS subsystem.
  43.  
  44. VT52.SYS may be used in the same manner as ANSI.SYS, with the same
  45. restrictions.
  46.  
  47. Additional reference words: 3.10
  48. KBCategory:
  49. KBSubCategory: MDOS DEVDRVR HOWTO
  50.  
  51. =============================================================================
  52.  
  53. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  54. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  55. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  56. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  57. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  58. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  59. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  60. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  61. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  62. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  63. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  64.  
  65. Copyright Microsoft Corporation 1993.